package com.ziyueyuwen.xiniao.service.baseservice.user.impl;

import com.ziyueyuwen.xiniao.bean.vo.ZyClassUserVO;
import com.ziyueyuwen.xiniao.dao.ZyClassUserMapper;
import com.ziyueyuwen.xiniao.service.baseservice.user.ZyClassUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wancheng  on 2019/1/24.
 */
@Service
public class ZyClassUserServiceImpl implements ZyClassUserService {

    @Autowired
    ZyClassUserMapper zyClassUserMapper;

    @Override
    public List<ZyClassUserVO> getClassTeacher(Integer classId) {
        return zyClassUserMapper.getClassTeacher(classId);
    }
}
